/**
 * @brief Top.h
 */

#ifndef TOP_H_
#define TOP_H_

#include "Config.h"
#include "SensAct.h"

class Controller;

namespace gui{
  class EpuckInterface;
}

class Top
{
public:
  Top(const ControllerType& contr);
  virtual ~Top();

  void run();

private:
  void readSensors();
  gui::EpuckInterface* chooseRobot();

private:
  gui::EpuckInterface* epuck;
  Controller *controller;

  bool running;
  Sensors sensors;
};

#endif /* TOP_H_ */
